<?php
require_once("oh.framework/oh.framework.php");

function projectlist() {
	$p = scandir("projects");
	echo '<ul>';
	foreach($p as $i) {
		echo '<li><a href="projects/'.$i.'">'.$i.'</a></li>';
	}
	echo '</ul>';
}

oh("framework")
	->debug(true)	
	->index("projects.oh");